.custom-table {
  .el-table {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05);

    &::before {
      display: none;
    }

    th {
      background: #fafafa !important;
      border-bottom: 1px solid #f0f0f0;
      padding: 16px;
      font-weight: 600;
      color: #1f2f3d;
      transition: background 0.3s ease;

      &.el-table__cell {
        background: #fafafa !important;
      }
    }

    td {
      padding: 16px;
      border-bottom: 1px solid #f0f0f0;
      transition: background 0.3s ease;
      color: #606266;
    }

    tr {
      transition: all 0.3s ease;

      &:hover > td {
        background: #e6f7ff !important;
      }
    }

    .el-table__row {
      &:last-child td {
        border-bottom: none;
      }
    }

    // 操作按钮样式
    .operation-column {
      .el-button {
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 13px;
        margin: 0 4px;

        &--primary {
          background: #e6f7ff;
          border-color: #91d5ff;
          color: #1890ff;

          &:hover {
            background: #1890ff;
            border-color: #1890ff;
            color: #fff;
          }
        }

        &--danger {
          background: #fff1f0;
          border-color: #ffa39e;
          color: #f5222d;

          &:hover {
            background: #f5222d;
            border-color: #f5222d;
            color: #fff;
          }
        }
      }
    }
  }

  // 分页器样式
  .el-pagination {
    margin-top: 20px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    
    .btn-prev, .btn-next {
      border-radius: 4px;
      background: #fff;
      border: 1px solid #d9d9d9;
      
      &:hover {
        color: #1890ff;
        border-color: #1890ff;
      }
    }

    .el-pager li {
      border-radius: 4px;
      border: 1px solid #d9d9d9;
      margin: 0 4px;
      
      &:hover {
        color: #1890ff;
        border-color: #1890ff;
      }
      
      &.active {
        background: #1890ff;
        color: #fff;
        border-color: #1890ff;
      }
    }
  }
} 